# include <stdio.h>
# include <math.h>
# define m 1000
int main()
{
	int i=0,k=0;
	printf("enter\n");
	scanf("%d",&i);
	if (i<1000)
		k=sqrt(i);
	else 
	{
		printf("enter again\n");
		scanf("%d",&i);
		k=sqrt(i);
	}
	printf("%d\n%d\n",i,k);
	return 0;
}
